package com.liuyang.second.concurrency.chapter3;

public class OctObServer extends ObServer {

    public OctObServer(Subject subject) {
        super(subject);
    }

    @Override
    public void update() {
        System.out.println("Oct ObServer state:"+Integer.toOctalString(subject.getState()));
    }
}
